package com.ruoyi.teaching.service;

import java.util.List;

import com.ruoyi.teaching.domain.TeachingStudent;

/**
 * 教务学员Service接口
 *
 * @author ruoyi
 * @date 2022-10-11
 */
public interface ITeachingStudentService {
    /**
     * 查询教务学员
     *
     * @param studentId 教务学员主键
     * @return 教务学员
     */
    public TeachingStudent selectTeachingStudentByStudentId(Long studentId);

    /**
     * 查询教务学员列表
     *
     * @param teachingStudent 教务学员
     * @return 教务学员集合
     */
    public List<TeachingStudent> selectTeachingStudentList(TeachingStudent teachingStudent);

    /**
     * 新增教务学员
     *
     * @param teachingStudent 教务学员
     * @return 结果
     */
    public int insertTeachingStudent(TeachingStudent teachingStudent);

    /**
     * 修改教务学员
     *
     * @param teachingStudent 教务学员
     * @return 结果
     */
    public int updateTeachingStudent(TeachingStudent teachingStudent);

    /**
     * 批量删除教务学员
     *
     * @param studentIds 需要删除的教务学员主键集合
     * @return 结果
     */
    public int deleteTeachingStudentByStudentIds(String studentIds);

    /**
     * 删除教务学员信息
     *
     * @param studentId 教务学员主键
     * @return 结果
     */
    public int deleteTeachingStudentByStudentId(Long studentId);

    /**
     * 根据用户ID查找学生
     *
     * @param userId
     * @return
     */
    public TeachingStudent selectTeachingStudentByUserId(Long userId);
}
